getcontext, makecontext, setcontext, swapcontext
authorThomas Schwinge <thomas@codesourcery.com>
Tue, 5 Feb 2019 18:55:42 +0000 (18:55 +0000)
committerAurelien Jarno <aurel32@debian.org>
Tue, 5 Feb 2019 18:55:42 +0000 (18:55 +0000)
commita02c0249e7f1d6427767b60931e85522cdc64079
tree5e71ea61868f2896989a07abfe29cf4acfde5367
parent18abfe67e93659691d1fd45fc26abb514b5cf2c4
getcontext, makecontext, setcontext, swapcontext

Adapted from the Linux x86 functions.

Not thoroughly tested, but manual testing as well as glibc tests look fine, and
manual -lpthread testing also looks fine (within the given bounds for a new
stack to be used with makecontext).

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name tg-context_functions.diff
sysdeps/mach/hurd/i386/Makefile
sysdeps/mach/hurd/i386/getcontext.S [new file with mode: 0644]
sysdeps/mach/hurd/i386/makecontext.S [new file with mode: 0644]
sysdeps/mach/hurd/i386/setcontext.S [new file with mode: 0644]
sysdeps/mach/hurd/i386/swapcontext.S [new file with mode: 0644]
sysdeps/mach/hurd/i386/ucontext_i.sym [new file with mode: 0644]